From: Carlos Garnacho Date: Thu, 28 Jun 2018 14:41:07 +0000 (+0200) Subject: st-box-layout: Queue relayout on adjustment changes X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~929^2~5^2~13 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ab4c72d758a23824e8e4a2f35d0b5b479777f294;p=gnome-shell.git st-box-layout: Queue relayout on adjustment changes The actor allocation doesn't change per-se, but apply_transform() will practically transform it. In order to have the paint volume update accordingly, queue a relayout. --- diff --git a/src/st/st-box-layout.c b/src/st/st-box-layout.c index 12fe86910..3acb15c40 100644 --- a/src/st/st-box-layout.c +++ b/src/st/st-box-layout.c @@ -90,7 +90,7 @@ adjustment_value_notify_cb (StAdjustment *adjustment, GParamSpec *pspec, StBoxLayout *box) { - clutter_actor_queue_redraw (CLUTTER_ACTOR (box)); + clutter_actor_queue_relayout (CLUTTER_ACTOR (box)); } static void